<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../js/vue.js"></script>
<!-- 引入样式 -->
<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
<!-- 引入组件库 -->
<script src="https://unpkg.com/element-ui/lib/index.js"></script>
    <style>

    </style>
</head>
<body>
    <div id="root">
        <div>{{uname}}</div>
    </div>

    <script>
        const vm=new Vue({
            el:'#root',
            data:{
                uname:''
               

            },
            methods: {
   
            },
            mounted() {
               
                arr = location.search.substr(1).split('=');
                this.uname=arr[1]+'欢迎你';
            },

        })
    </script>
</body>
</html>